package dto

type TestJsonReq struct {
	Name     string `json:"name" binding:"min=3,max=20,required"`
	Password string `json:"password" binding:"required"`
	Age      int    `json:"age" binding:"required,gte=10"`
}

type TestFormReq struct {
	Name     string `form:"name" binding:"min=3,max=20,required"`
	Password string `form:"password" binding:"required"`
}

type TestParamsReq struct {
	Name     string `form:"name" binding:"min=3,max=20,required"`
	Password string `form:"password"`
}
